package com.new_wear.project.category.category.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;

/**
 * 栏目对象 cst_category
 * 
 * @author new_wear
 * @date 2019-12-30
 */
public class CstCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    private Integer id;

    /** 父ID */
    @Excel(name = "父ID")
    private Integer pid;

    /** 层级 */
    @Excel(name = "层级")
    private Integer level;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String title;

    /** 栏目类型，1，单页，2栏目页，3，外链 */
    @Excel(name = "栏目类型，1，单页，2栏目页，3，外链")
    private Integer tpe;

    /** 模型类型 1普通文章，2通知公告， */
    @Excel(name = "模型类型 1普通文章，2通知公告，")
    private Integer moduleType;

    /** 详情 */
    @Excel(name = "详情")
    private String content;

    /** 外链地址 */
    @Excel(name = "外链地址")
    private String url;

    /** 模板 */
    @Excel(name = "模板")
    private String temp;

    /** 栏目图片 */
    @Excel(name = "栏目图片")
    private String img;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Integer isShow;

    /** seo标题 */
    @Excel(name = "seo标题")
    private String seotitle;

    /** seo关键词 */
    @Excel(name = "seo关键词")
    private String seokeyword;

    /** seo描述 */
    @Excel(name = "seo描述")
    private String seodesc;

    /** null */
    @Excel(name = "null")
    private String sortOrder;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDel;

    /** 文章数 */
    @Excel(name = "文章数")
    private Integer counts;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Integer areaId;

    /** 第三方数据ID */
    @Excel(name = "第三方数据ID")
    private String thirdId;

    /** 第三方名称 */
    @Excel(name = "第三方名称")
    private String thirdName;

    /** 栏目模型 */
    @Excel(name = "栏目模型")
    private String modelType;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPid(Integer pid) 
    {
        this.pid = pid;
    }

    public Integer getPid() 
    {
        return pid;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTpe(Integer tpe) 
    {
        this.tpe = tpe;
    }

    public Integer getTpe() 
    {
        return tpe;
    }
    public void setModuleType(Integer moduleType) 
    {
        this.moduleType = moduleType;
    }

    public Integer getModuleType() 
    {
        return moduleType;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setTemp(String temp) 
    {
        this.temp = temp;
    }

    public String getTemp() 
    {
        return temp;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }
    public void setSeotitle(String seotitle) 
    {
        this.seotitle = seotitle;
    }

    public String getSeotitle() 
    {
        return seotitle;
    }
    public void setSeokeyword(String seokeyword) 
    {
        this.seokeyword = seokeyword;
    }

    public String getSeokeyword() 
    {
        return seokeyword;
    }
    public void setSeodesc(String seodesc) 
    {
        this.seodesc = seodesc;
    }

    public String getSeodesc() 
    {
        return seodesc;
    }
    public void setSortOrder(String sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public String getSortOrder() 
    {
        return sortOrder;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }
    public void setCounts(Integer counts) 
    {
        this.counts = counts;
    }

    public Integer getCounts() 
    {
        return counts;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setThirdId(String thirdId) 
    {
        this.thirdId = thirdId;
    }

    public String getThirdId() 
    {
        return thirdId;
    }
    public void setThirdName(String thirdName) 
    {
        this.thirdName = thirdName;
    }

    public String getThirdName() 
    {
        return thirdName;
    }
    public void setModelType(String modelType) 
    {
        this.modelType = modelType;
    }

    public String getModelType() 
    {
        return modelType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("level", getLevel())
            .append("title", getTitle())
            .append("tpe", getTpe())
            .append("moduleType", getModuleType())
            .append("content", getContent())
            .append("url", getUrl())
            .append("temp", getTemp())
            .append("img", getImg())
            .append("isShow", getIsShow())
            .append("seotitle", getSeotitle())
            .append("seokeyword", getSeokeyword())
            .append("seodesc", getSeodesc())
            .append("sortOrder", getSortOrder())
            .append("isDel", getIsDel())
            .append("counts", getCounts())
            .append("areaId", getAreaId())
            .append("thirdId", getThirdId())
            .append("thirdName", getThirdName())
            .append("modelType", getModelType())
            .toString();
    }
}
